package cn.hd.commonService.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author hd
 * @since 2022-06-26
 */
@Getter
@Setter
@TableName("sys_role_func")
@ApiModel(value = "SysRoleFunc对象", description = "")
public class SysRoleFunc implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "recordId", type = IdType.AUTO)
    private Integer recordId;

    private Integer roleId;

    private Integer functionId;

    public SysRoleFunc() {
    }

    public SysRoleFunc(Integer roleId, Integer functionId) {
        this.roleId = roleId;
        this.functionId = functionId;
    }
}
